export const OrderDetailDTO = () => {
  return {
    consignee: '',
    contact: '',
    createTime: '',
    discountCash: 0,
    discountPrice: 0,
    mail: '',
    zipCode: '',
    address: '',
    cancelType: '',
    orderNumber: '',
    paymentMethod: '',
    status: '',
    attach: '',
    attachName: '',
    cashAmount: 0,
    createBy: 0,
    deductibleCash: 0,
    deductiblePrice: 0,
    discountGoodsCash: 0,
    discountGoodsPrice: 0,
    goods: '',
    goodsAmount: 0,
    goodsCash: 0,
    goodsId: 0,
    goodsImg: '',
    goodsNumber: '2',
    goodsPrice: 0,
    isFree: '0',
    logs: [],
    orderId: 0,
    orderType: '1',
    orgId: 0,
    orgImg: '',
    orgName: '',
    paymentNumber: '',
    priceAmount: 0,
    remarks: '',
    finishTime: '',
    activityId: 0,
    rechargeAmount: 0
  }
}

export const columnsMapProduct = [
  {
    prop: 'goodsName',
    label: '商品名称',
    minWidth: 250
  },
  {
    prop: 'orderType',
    label: '类型'
  },
  {
    prop: 'goodsAmount',
    label: '数量',
    width: 70
  },
  {
    prop: 'goodsCash',
    label: '原价',
    minWidth: 150
  },
  {
    prop: 'status',
    label: '状态'
  }
]

export const statusColor = {
  0: '#f74437',
  1: '#3cd489',
  2: '#919397',
  3: '#babec0',
  4: '#fe9b00'
}

export const jumpPath = {
  1: '/channel/mo_fang/detail/',
  2: '/channel/activity/detail/'
}
